package ${package}.${moduleName}.entity;

import java.util.Date;

/**
* @Description: ${tableComment}实体类
* @Author: ${author} ${email}
* @Date: ${date}
* @Version: ${version}
**/
@Data
@TableName(value = "${tableName}")
@Schema(name = "${ClassName}", description = "${tableComment}实体类")
public class ${ClassName}{
<#list fieldList as field>
<#if !field.baseField>
	<#if field.fieldComment!?length gt 0>
	/**
	* ${field.fieldComment}
	*/
	</#if>
    <#if field.autoFill == "INSERT">
	@TableField(fill = FieldFill.INSERT)
	</#if>
	<#if field.autoFill == "INSERT_UPDATE">
	@TableField(fill = FieldFill.INSERT_UPDATE)
	</#if>
	<#if field.autoFill == "UPDATE">
		@TableField(fill = FieldFill.UPDATE)
	</#if>
    <#if field.primaryPk>
	@TableId
	</#if>
	@Schema(description = "${field.fieldComment}", type = "${field.attrType}")
	private ${field.attrType} ${field.attrName};
</#if>

</#list>
}